package AB;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class Zuoye3 {
    public static void main(String[] args) {
        Date date = new Date();
        SimpleDateFormat sp = new SimpleDateFormat("yyyy-MM-dd E");
        String format = sp.format(date);
        System.out.println(format);
        Calendar instance = Calendar.getInstance();
        instance.set(Calendar.MONTH,9);
        instance.set(Calendar.DAY_OF_MONTH,1);
        String format1 = sp.format(instance.getTime());
        System.out.println(format1);
}
}
